<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions" 
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn"
  targetNamespace="Examples">
  
  <process id="parallelGateway" isExecutable="true">
  
    <startEvent id="theStart" />
    <sequenceFlow id="flow1" sourceRef="theStart" targetRef="fork" />
    
    <parallelGateway id="fork" />
    <sequenceFlow id="flow2" sourceRef="fork" targetRef="task1" />
    <userTask id="task1"/>
    <sequenceFlow id="flow3" sourceRef="task1" targetRef="theEnd1" />
    <endEvent id="theEnd1" />
    
    <sequenceFlow id="flow4" sourceRef="fork" targetRef="task2" />
    <userTask id="task2"/>
    <sequenceFlow id="flow5" sourceRef="task2" targetRef="theEnd2" />
    <endEvent id="theEnd2" />
    
    <boundaryEvent id="boundaryTimer1" cancelActivity="true" attachedToRef="task1">
      <timerEventDefinition>
        <timeDuration>PT1H</timeDuration>
      </timerEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="flow7" sourceRef="boundaryTimer1" targetRef="afterBoundaryTask1" />
    <userTask id="afterBoundaryTask1" />
    <sequenceFlow id="flow8" sourceRef="afterBoundaryTask1" targetRef="boundaryEnd1" />
    <endEvent id="boundaryEnd1" />
    
    <boundaryEvent id="boundaryTimer2" cancelActivity="true" attachedToRef="task2">
      <timerEventDefinition>
        <timeDuration>PT1H</timeDuration>
      </timerEventDefinition>
    </boundaryEvent>
    <sequenceFlow id="flow9" sourceRef="boundaryTimer2" targetRef="afterBoundaryTask2" />
    <userTask id="afterBoundaryTask2" />
    <sequenceFlow id="flow10" sourceRef="afterBoundaryTask2" targetRef="boundaryEnd2" />
    <endEvent id="boundaryEnd2" />
  </process>

</definitions>